# 语法：浏览器对象.find_element(by=By.LINK_TEXT,value="百度")
import time
from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()
driver.get("http://121.43.169.97:8848/pageA.html")
driver.find_element(By.LINK_TEXT,"百度").click()
# 放大浏览器
driver.maximize_window()
time.sleep(3)
driver.quit()